package com.oscar.web.domain;

import org.hibernate.annotations.Proxy;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity(name = "ratemorebooks")
@Proxy(lazy = false)
public class RateMoreBooks {
    @Id //这个地方是要做主键用的
    private int bookid;

    @Column(nullable = false)
    private Long count;

    //get and set方法：


    public int getBookid() {
        return bookid;
    }

    public void setBookid(int bookid) {
        this.bookid = bookid;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

}
